<%@ page language="java" contentType="text/html; charset=EUC-KR"
    pageEncoding="EUC-KR"%>
    <%@ page session="true"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
<title>Login Page</title>
<script src="http://code.jquery.com/jquery-1.10.2.js"></script>
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.0-wip/css/bootstrap.min.css">
<script src="http://netdna.bootstrapcdn.com/bootstrap/3.0.0-wip/js/bootstrap.min.js"></script>
<script>
	$(document).ready(function(){
		$("#login").on("click",function(){
			
			
			
			$("#frm").attr("method","post").attr("action","/algorithm/loginSelectServlet");
			$("#frm").submit();
		});
		
		$("#join").on("click",function(){
			$(location).attr("href","memberTest.jsp");
		});
	});
	
		
</script>

</head>
<body>
<br /><br />

	<form class="form-horizontal" role="form" id="frm" method="post">

		<div class="form-group">
			<label class="col-lg-2 control-label"></label>
				<div class="col-lg-3">
					<h3><b>Login Page</b></h3>
				</div>
		</div>
	
	
		<div class="form-group">
			<label for="inputId" class="col-lg-2 control-label">ID</label>
				<div class="col-lg-3">
					<input type="text" name="inputId" class="form-control" id="id" placeholder="ID">
				</div>
		</div>
	  
	  
		<div class="form-group">
			<label for="inputPassword" class="col-lg-2 control-label">Password</label>
				<div class="col-lg-3">
					<input type="password" name="inputPw1" class="form-control" id="pw" placeholder="Password">
				</div>
		</div>


		<div class="form-group">
			<label class="col-lg-2 control-label"></label>
				<div class="col-lg-1">
					<button type="submit" class="btn btn-default" id="login">Login</button>
				</div>
				<div class="col-lg-1">
					<button type="button" class="btn btn-default" id="join">Join</button>
				</div>
				
				<div class="col-lg-2">
					<div class="checkbox">
						<div class="col-lg-1">
							<input type="checkbox"> Remember
						</div>
					</div>
				</div>
		</div>


	</form>

</body>
</html>